package com.lagou.edu.anno;

import java.lang.annotation.*;

/**
 * dao层注解
 * @author wsz
 * @date 2021/10/20 8:42
 **/
@Target(value = {ElementType.TYPE})
@Retention(value = RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Repository {

    String value() default "";

    boolean lazyInit() default false;

    boolean singleton() default true;
}
